<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>管理员设置</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="Shoppy Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
	<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
	<!-- Custom Theme files -->
	<link href="css/style.css" rel="stylesheet" type="text/css" media="all"/>
	<!--js-->
	<script src="js/jquery-2.1.1.min.js"></script>
	<!--icons-css-->
	<link href="css/font-awesome.css" rel="stylesheet">
	<!--Google Fonts-->
	<link href='https://fonts.googleapis.com/css?family=Carrois+Gothic' rel='stylesheet' type='text/css'>
	<link href='https://fonts.googleapis.com/css?family=Work+Sans:400,500,600' rel='stylesheet' type='text/css'>
	<!--static chart-->
	<script src="js/Chart.min.js"></script>
	<!--//charts-->
	<!-- geo chart -->
	<script src="http://cdn.jsdelivr.net/modernizr/2.8.3/modernizr.min.js" type="text/javascript"></script>
	<script>window.modernizr || document.write('<script src="lib/modernizr/modernizr-custom.js"><\/script>')</script>
	<!--<script src="lib/html5shiv/html5shiv.js"></script>-->
	<!-- Chartinator  -->
	<script src="js/chartinator.js" ></script>


	<!--skycons-icons-->
	<script src="js/skycons.js"></script>
	<!--//skycons-icons-->
</head>
<div>
<div class="page-container">
	<div class="left-content">
		<div class="mother-grid-inner">
			<!--header start here-->
			<div class="header-main">
				<div class="header-left">
					<div class="logo-name">
						<a href="index.jsp"> <h1>DGUT</h1>
							<!--<img id="logo" src="" alt="Logo"/>-->
						</a>
					</div>
					<!--search-box-->
					<div class="search-box">
						<form>
							<input type="text" placeholder="Search..." required="">
							<input type="submit" value="">
						</form>
					</div><!--//end-search-box-->
					<div class="clearfix"> </div>
				</div>
				<div class="header-right">
					<!--notification menu end -->
					<div class="profile_details">
						<ul>
							<li class="dropdown profile_details_drop">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
									<div class="profile_img">
										<span class="prfil-img"><img src="images/p1.png" alt=""> </span>
										<div class="user-name">
											<p>Malorum</p>
											<span>Administrator</span>
										</div>
										<i class="fa fa-angle-down lnr"></i>
										<i class="fa fa-angle-up lnr"></i>
										<div class="clearfix"></div>
									</div>
								</a>
								<ul class="dropdown-menu drp-mnu">
									<li> <a href="#"><i class="fa fa-cog"><input type="button" style="background-color: transparent;border: 0px;" data-id="<%=admin_no%>" data-toggle="modal" data-target="#myModalLabel3" value=" 修改信息" /></i></a></li>
									<li> <a href="login.html"><i class="fa fa-sign-out"></i> 退出</a> </li>
								</ul>
							</li>
						</ul>
					</div>
					<div class="clearfix"> </div>
				</div>
				<div class="clearfix"> </div>
			</div>
			<!--heder end here-->
			<!-- script-for sticky-nav -->
			<script>
				$(document).ready(function() {
					var navoffeset=$(".header-main").offset().top;
					$(window).scroll(function(){
						var scrollpos=$(window).scrollTop();
						if(scrollpos >=navoffeset){
							$(".header-main").addClass("fixed");
						}else{
							$(".header-main").removeClass("fixed");
						}
					});

				});
			</script>
			<!-- /script-for sticky-nav -->
			<!--inner block start here-->
			<div class="inner-block">

				<!--mainpage chit-chating-->


				<div class="work-progres" style="margin: 0px auto">
					<input type="button" class="btn btn-info readinfo" data-id="<%=admin_no%>" data-toggle="modal" data-target="#myModalLabel" value="添加管理员" />
					<button class="btn btn-info" ><i class="fa  fa-edit"></i> 批量删除</button>
					<div class="table-responsive">

						<table class="table table-hover">
							<thead>
							<tr>
								<th> </th>
								<th>#</th>
								<th>账号</th>
								<th>密码</th>

								<th>类别</th>
								<th>电子邮箱 </th>

								<th>手机</th>

							</tr>
							</thead>
							<tbody>
							<tr>
								<td class="hidden-xs">
									<input type="checkbox" class="checkbox">
								</td>
								<td>1</td>
								<td>190061</td>
								<td>123</td>
								<td>超级管理员</td>
								<td>4545455@qq.com</td>
								<td>1345665656</td>

								<td>
									<a title="编辑" class="btn btn-xs btn-info" onclick="re()">重置密码</a>
									<a title="删除" class="btn btn-xs btn-info" onclick="del()">删除</a>
									<a title="查看" class="btn btn-xs btn-info" href="info.html">查看</a>
								</td>
							</tr>
							<tr>
								<td class="hidden-xs">
									<input type="checkbox" class="checkbox">
								</td>
								<td>1</td>
								<td>190061</td>
								<td>123</td>
								<td>超级管理员</td>
								<td>4545455@qq.com</td>
								<td>1345665656</td>

								<td>
									<a title="编辑" class="btn btn-xs btn-info" onclick="re()">重置密码</a>
									<a title="删除" class="btn btn-xs btn-info" onclick="del()">删除</a>
									<a title="查看" class="btn btn-xs btn-info" href="info.html">查看</a>
								</td>
							</tr>
							<tr>
								<td class="hidden-xs">
									<input type="checkbox" class="checkbox">
								</td>
								<td>1</td>
								<td>190061</td>
								<td>123</td>
								<td>超级管理员</td>
								<td>4545455@qq.com</td>
								<td>1345665656</td>

								<td>
									<a title="编辑" class="btn btn-xs btn-info" onclick="re()">重置密码</a>
									<a title="删除" class="btn btn-xs btn-info" onclick="del()">删除</a>
									<a title="查看" class="btn btn-xs btn-info" href="info.html">查看</a>
								</td>
							</tr>
							<tr>
								<td class="hidden-xs">
									<input type="checkbox" class="checkbox">
								</td>
								<td>1</td>
								<td>190061</td>
								<td>123</td>
								<td>超级管理员</td>
								<td>4545455@qq.com</td>
								<td>1345665656</td>

								<td>
									<a title="编辑" class="btn btn-xs btn-info" onclick="re()">重置密码</a>
									<a title="删除" class="btn btn-xs btn-info" onclick="del()">删除</a>
									<a title="查看" class="btn btn-xs btn-info" href="info.html">查看</a>
								</td>
							</tr>
							<tr>
								<td class="hidden-xs">
									<input type="checkbox" class="checkbox">
								</td>
								<td>1</td>
								<td>190061</td>
								<td>123</td>
								<td>超级管理员</td>
								<td>4545455@qq.com</td>
								<td>1345665656</td>
								<td>
									<a title="编辑" class="btn btn-xs btn-info" onclick="re()">重置密码</a>
									<a title="删除" class="btn btn-xs btn-info" onclick="del()">删除</a>
									<a title="查看" class="btn btn-xs btn-info" href="info.html">查看</a>
								</td>
							</tr>
							<tr>
								<td class="hidden-xs">
									<input type="checkbox" class="checkbox">
								</td>
								<td>1</td>
								<td>190061</td>
								<td>123</td>
								<td>超级管理员</td>
								<td>4545455@qq.com</td>
								<td>1345665656</td>

								<td>
									<a title="编辑" class="btn btn-xs btn-info" onclick="re()">重置密码</a>
									<a title="删除" class="btn btn-xs btn-info" onclick="del()">删除</a>
									<a title="查看" class="btn btn-xs btn-info" href="info.html">查看</a>
								</td>
							</tr>
							</tbody>
						</table>
						<div style="position: relative; text-align: center;">
							<a href="/Product_servlet?page=1">首页</a>
							<a href="/Product_servlet?page=${page-1>1?page-1:1}">上一页</a>
							<a href="/Product_servlet?page=${page+1<totalPages?page+1:totalPages}">下一页</a>
							<a href="/Product_servlet?page=${totalPages}">尾页</a>
						</div>

						<script language="javascript">
							function del() //声明标识符
							{
								if(confirm("你确定要删除吗？")){

								}
								else{

								}
							}
						</script>
						<script language="javascript">
							function re() //声明标识符
							{
								if(confirm("你确定要重置密码吗？")){

								}
								else{

								}
							}
						</script>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="modal fade" id="myModalLabel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content" style="width: 700px">
				<form  id="change_form" enctype="multipart/form-data" method ="post" >
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
						<h4 class="modal-title">添加管理员</h4>
					</div>
					<div class="modal-body">
						<div class="col-md-9">
							<div class="form-horizontal">
								<div class="form-group">
									<label for="adenumber" class="col-sm-4 control-label">账号:*</label>
									<div class="col-sm-8">
										<input class="form-control change_input" id="adenumber" name="admin_name" type="number">
									</div>
								</div>

								<div class="form-group">
									<label for="adephone" class="col-sm-4 control-label">手机:*</label>
									<div class="col-sm-8">
										<input class="form-control change_input" id="adephone" name="tellphone" onchange="if(/\D/.test(this.value)){alert('只能输入数字');this.value='';}" type="number">
									</div>
								</div>
								<div class="form-group">
									<label for="admmail" class="col-sm-4 control-label">电子邮箱:*</label>
									<div class="col-sm-8">
										<input class="form-control change_input" id="admmail" name="email" type="email">
									</div>
								</div>
								<div class="form-group">
									<label for="admtype" class="col-sm-4 control-label">类别:*</label>
									<div class="col-sm-8">
										<input class="form-control change_input" id="admtype" name="type" type="text">
									</div>
								</div>
								<div class="form-group">
									<label for="admpassword" class="col-sm-4 control-label">密码:*</label>
									<div class="col-sm-8">
										<input class="form-control change_input" id="admpassword" name="password" type="password">
									</div>
								</div>
								<div class="form-group">
									<label for="admconfirmpassword" class="col-sm-4 control-label">确认密码:*</label>
									<div class="col-sm-8">
										<input class="form-control change_input" id="admconfirmpassword" type="password">
									</div>
								</div>
							</div>
						</div>

						<div class="modal-footer">
							<div class="center-block">
								<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
								<input class="btn btn-default mybutton1" value="保存" style="width:55px; display: inline;padding: 6px 12px; background-color: #5bc0de;"
									   onclick="return check()" type="submit">
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	<div class="modal fade" id="myModalLabel3" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content" style="width: 900px">
				<form  id="change_form3" enctype="multipart/form-data" method ="post" >
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
						<h4 class="modal-title">修改信息</h4>
					</div>
					<div class="modal-body">
						<div class="col-md-3">
							<div class="text-center">
								<img id="imgshow" src="http://placehold.it/150" class="avatar img-circle" style="width: 200px;height: 200px;" alt="avatar">
								<div class="input-group">
                            <span class="input-group-btn">
                                <span class="btn  btn-file" >
                                    <input type="file" id="lefile" name="product_file" onchange="previewFile()" style="display:none;">
                                    <input id="photoCover" class="form-control" type="text"  name="headfileTemp">
                                    <br>
                                    <br>
                                    <br>
                                    <a class="btn btn-info btn-sm showbtn" onclick="$('input[id=lefile]').click(); ">上传图片</a>
                                </span>
                            </span>
								</div>

							</div>
						</div>
						<div class="col-md-9">
							<div class="form-horizontal">
								<div class="form-group">
									<label for="admnumber" class="col-sm-2 control-label">学号:*</label>
									<div class="col-sm-10">
										<input class="form-control change_input" id="admnumber" name="number" onchange="if(/\D/.test(this.value)){alert('只能输入数字');this.value='';}" type="number">
									</div>
								</div>
								<div class="form-group">
									<label for="admname" class="col-sm-2 control-label">学生姓名:*</label>
									<div class="col-sm-10">
										<input class="form-control change_input" id="admname" name="admin_name" type="text">
									</div>
								</div>
								<div class="form-group">
									<label for="admsex" class="col-sm-2 control-label">性别:*</label>
									<div class="col-sm-10">
										<input class="form-control change_input" id="admsex" name="sex" type="text">
									</div>
								</div>
								<div class="form-group">
									<label for="admdata" class="col-sm-2 control-label">出生日期:*</label>
									<div class="col-sm-10">
										<input class="form-control change_input" id="admdata" name="data"  type="date">
									</div>
								</div>
								<div class="form-group">
									<label for="admemail" class="col-sm-2 control-label">籍贯:*</label>
									<div class="col-sm-10">
										<input class="form-control change_input" id="adme" name="adme" type="text">
									</div>
								</div>
								<div class="form-group">
									<label for="admemail" class="col-sm-2 control-label">邮箱:*</label>
									<div class="col-sm-10">
										<input class="form-control change_input" id="admemail" name="email" type="email">
									</div>
								</div>
								<div class="form-group">
									<label for="admphone" class="col-sm-2 control-label">手机号码:*</label>
									<div class="col-sm-10">
										<input class="form-control change_input" id="admphone" name="phone" onchange="if(/\D/.test(this.value)){alert('只能输入数字');this.value='';}" type="number">
									</div>
								</div>
							</div>
						</div>

						<div class="modal-footer">
							<div class="center-block">
								<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>

								<input class="btn btn-default mybutton1" value="保存" style="width:55px; display: inline;padding: 6px 12px; background-color: #5bc0de;"
									   onclick="return check()" type="submit">
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
    <div class="sidebar-menu" style="height:800px" >
		  	<div class="logo"> <a href="#" class="sidebar-icon"> <span class="fa fa-bars"></span> </a> <a href="#"> <span id="logo" ></span> 
			      <!--<img id="logo" src="" alt="Logo"/>--> 
			  </a> </div>		  
		    <div class="menu">
		      <ul id="menu" >
		        <li id="menu-home" ><a href="index.html"><i class="fa fa-tachometer"></i><span>首页</span></a></li>
		        <li><a href="admin.html"><i class="fa fa-cogs"></i><span>账户维护</span></a></li>
		        <li id="menu-comunicacao" ><a href="course.html"><i class="fa fa-book nav_icon"></i><span>课程管理</span></a></li>
		          <li><a href="class.html"><i class="fa fa-map-marker"></i><span>班级管理</span></a></li>
		        <li id="menu-academico" ><a href="info.html"><i class="fa fa-file-text"></i><span>我的账户</span></a></li>
		        

		        <li><a href="feedback.html"><i class="fa fa-envelope"></i><span>留言反馈</span></a></li>
				  <li><a href="E-mail.html"><i class="fa fa-envelope"></i><span>我的信箱</span></a></li>

		      </ul>
		    </div>
	 </div>
	<div class="clearfix"> </div>
</div>
</div>
<!--slide bar menu end here-->
<script>
	var toggle = true;

	$(".sidebar-icon").click(function() {
		if (toggle)
		{
			$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
			$("#menu span").css({"position":"absolute"});
		}
		else
		{
			$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
			setTimeout(function() {
				$("#menu span").css({"position":"relative"});
			}, 400);
		}
		toggle = !toggle;
	});
</script>
<!--scrolling js-->
		<script src="js/jquery.nicescroll.js"></script>
		<script src="js/scripts.js"></script>
		<!--//scrolling js-->
<script src="js/bootstrap.js"> </script>
<!-- mother grid end here-->
</body>
</html>


                      
						
